﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace TodoApp.TMS_material.MaterialsConsumings
{
    /// <summary>
    /// 物资领用-郭辉
    /// </summary>
    public class TMS_MaterialsConsuming : BasicAggregateRoot<Guid>
    {
        /// <summary>
        /// 主键ID 
        /// </summary>
        [Column("MaterialsConsuming_Id")]
        public override Guid Id { get => base.Id; protected set => base.Id = value; }
        /// <summary>
        /// <summary>
        /// 名称
        /// </summary>
        public string MaterialsConsuming_Name { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public int MaterialsConsuming_Type { get; set; }
        /// <summary>
        /// 材质
        /// </summary>
        public int MaterialsConsuming_IPS { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string MaterialsConsuming_Specification { get; set; }
        /// <summary>
        /// 产地国家
        /// </summary>
        public int MaterialsConsuming_Country { get; set; }
        /// <summary>
        /// 产地省份
        /// </summary>
        public int MaterialsConsuming_Province { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int MaterialsConsuming_Num { get; set; }
        /// <summary>
        /// 期望交付日期
        /// </summary>
        public DateTime MaterialsConsuming_Expectation { get; set; }
        /// <summary>
        /// 用途描述
        /// </summary>
        public string MaterialsConsuming_Use { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string MaterialsConsuming_Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        public Guid PeopleId { get; set; }
        /// <summary>
        /// 审批人
        /// </summary>
        public Guid PeopleIds { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int MaterialsConsuming_State { get; set; }
    }
}
